package com.zlp.member.service;

import com.alibaba.fastjson.JSONObject;
import com.zlp.common.base.BaseResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @version V1.0
 * @Description:
 * @date: 2019/4/11 15:17
 * @Author: ZouLiPing
 * @contact: 请关注微信公众号“给自己一个smile”里面有详细电商项目文档,weixin:zlp865391093
 */
public interface QQAuthoriService {

    /**
     * 根据 qqOpenId查询是否已经绑定,如果已经绑定，则直接实现自动登陆
     *
     * @param qqOpenId
     * @return
     */
    @RequestMapping("/findByOpenId")
    BaseResponse<JSONObject> findByOpenId(@RequestParam("qqOpenId") String qqOpenId);
}
